<%@include file="/pages/common/commons.jsp" %>
<html>
<head>
	<title>test-index</title>
	<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="${static_domain}/scripts/jqplot/excanvas.js"></script><![endif]-->
	<script language="javascript" type="text/javascript" src="${static_domain}/scripts/jqplot/jquery.jqplot.min.js"></script>
	<script type="text/javascript" src="${static_domain}/scripts/jqplot/plugins/jqplot.pieRenderer.min.js"></script>
	<link rel="stylesheet" type="text/css" href="${static_domain}/scripts/jqplot/jquery.jqplot.css" />
	<script type="text/javascript">
		$j(function(){
			var data = [
				['金', 1],['银', 2], ['铜', 7]
			  ];
			  var plot1 = $j.jqplot ('chartdiv', [data], 
				{ 
				  seriesDefaults: {
					renderer: jQuery.jqplot.PieRenderer, 
					rendererOptions: {
					  showDataLabels: true,
					  dataLabels:'labelAndValue'
					}
				  }
				}
			  );
		});
	</script>
</head>
<body>
<div class="content">
	<div id="chartdiv" style="height:400px;width:500px; "></div><br/><br/>
	<input type="button" value="测试sAlert" onclick="javascript:sAlert('alert');" /><br/><br/>
	<input type="button" value="测试sConfirm" onclick="javascript:sConfirm('confirm','',function(){alert(1);});" /><br/><br/>
</div>
</body>
</html>
